home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 1287 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1018 b 

  1. Path: soap.news.pipex.net!pipex!usenet
  2. From: m.hendry@dial.pipex.com (Mathew Hendry)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: UUencode
  5. Date: Sun, 28 Jan 96 12:25:53
  6. Organization: Private node.
  7. Distribution: world
  8. Message-ID: <19960128.4183E0.B91B@ak102.du.pipex.com>
  9. References: <4edic0$auv@kdcol.kdcol.com>
  10. NNTP-Posting-Host: ak102.du.pipex.com
  11. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  12.  
  13. Kerry Hales (maverick@kdcol.kdcol.com) wrote:
  14. : I was wondering how I can uuencode a file and have it save to the 
  15. : disk, rather than print to screen.
  16. : I have tried this:
  17. : uuencode "myfile" "newfilename" >destinationdrive
  18.  
  19. uuencode myfile >newfilename
  20.  
  21. ">" is the redirection operator, i.e. any console output from uuencode will
  22. be redirected to the file "newfilename", overwriting any existing file of that
  23. name.
  24.  
  25. There is an analagous "<" operator, which allows a program to take console
  26. input _from_ a file. There is also ">>", which allows you to _append_ to a
  27. file, rather than overwriting it.
  28.  
  29. -- Mat.
  30.